/*
 * Test.c
 *
 * Created: 26/03/2012 11:26:24
 *  Author: Dani
 */ 

#include <avr/io.h>
#define F_CPU 8000000
#include <util/delay.h>
#include <avr/interrupt.h>
#include "buzzer.h"

int main(void)
{
    BuzzerInit();
	BuzzerEnable(1);
	PORTA = 0;
	sei();
	while(1)
    {
		_delay_ms(1000);
		BuzzerEnable(0);
		_delay_ms(1000);
		BuzzerEnable(1); 		
    }
}